package org.chimi.rr4s.domain;

import org.springframework.data.neo4j.annotation.GraphId;
import org.springframework.data.neo4j.annotation.Indexed;
import org.springframework.data.neo4j.annotation.NodeEntity;

/**
 * @author Choi, Beom Kyun
 */
@NodeEntity
public class Item {
	@GraphId
	private Long nodeId;

	@Indexed(indexName = "ITEM")
	private String id;
	private String type;

	public Item() {
	}

	public Item(String id, String type) {
		super();
		this.id = id;
		this.type = type;
	}

	public Long getNodeId() {
		return nodeId;
	}

	public String getId() {
		return id;
	}

	public String getType() {
		return type;
	}

}
